/**
 * Copyright (C) 2016 Juno Inc., All Rights Reserved.
 */
package com.jyl.designPattern.creational.builder;

/**
 *
 * @author Long, E-mail:jyl0401@163.com
 * @date 2016年7月19日 下午2:07:51
 */
public class Test {
	
	public static void main(String[] args) {
        PersonDirector pd = new PersonDirector();
        Person person = pd.constructPerson(new ManBuilder());
        System.out.println(person.getBody());
        System.out.println(person.getFoot());
        System.out.println(person.getHead());
    }

}
